package cn.lml.lession.user.dao;

import java.util.List;
import java.util.Map;

import cn.lml.lession.user.model.Role;

public interface RoleMapper {

	Integer insertRole (Role role);

	Integer deleteByRid (Integer rid);

	Integer updateByRid (Role role);

	Role selectByRid (Integer rid);

	List<Role> queryRole(Map<String,Object> cond);

	Integer countRole(Map<String, Object> cond);

	List<Role> queryRoleByUserId(Integer uid);
}